package com.glsc.ngateway.common.base.repo.mysql.gateway.platform;


import com.glsc.ngateway.common.base.domain.mysql.gateway.platform.flow.FlowFormVendorRateAnswer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Repository
public interface FlowFormVendorRateAnswerRepo extends JpaRepository<FlowFormVendorRateAnswer, Integer>, JpaSpecificationExecutor<FlowFormVendorRateAnswer> {

    /**
     * 根据流程Id检索表单
     */
    List<FlowFormVendorRateAnswer> findByProcessId(@NotBlank String processId);
}
